package com.masterclient.app.modules.purchase.contract;

import com.eoner.baselibrary.base.BasePresenter;
import com.eoner.baselibrary.base.BaseView;
import com.eoner.baselibrary.bean.aftersale.ShipmentsBean;
import com.eoner.baselibrary.bean.purchase.DeliveryDetailBean;

import java.util.List;

public interface PurchaseShippingContract {

    interface View extends BaseView {
      void showShippingList(List<ShipmentsBean.DataBean.ShShipmentCompanysBean> list);
      void showResult(boolean isSuccess, String msg);
      void showData(DeliveryDetailBean data);
    }
    abstract static class Presenter extends BasePresenter<View> {

        @Override
        public void onStart() { }

        public abstract void getShippingList();

        public abstract void confirmShipping(int type, String order_id,String track_no,String carrier_code);

        public abstract void getShippingData(String order_id, String order_express_id);
    }
}